﻿using System.Collections.Generic;
/// <summary>
/// 序列化接口
/// </summary>
public interface IESF_Serializable
{
    /// <summary>
    /// 导出序列化数据
    /// </summary>
    /// <returns>序列化数据</returns>
    List<byte> ExportSerializable();

    /// <summary>
    /// 导入序列化数据
    /// </summary>
    /// <param name="_data">序列化数据</param>
    /// <param name="_startIndex">起始索引</param>
    /// <returns>结束索引</returns>
    int ImportSerializable(byte[] _data, int _startIndex);
}